<template>
  <div>
    <h1 style="margin-left: 30px">工作论文</h1>
    <el-row
        style="margin-top: 15px"
        type="flex"
        align="middle"
        justify="center"
    >
      <div>
        <el-form :inline="true" :model="searchData">
          <el-form-item style="float: left" label="搜索字段">
            <el-select
                v-model="searchData.type"
                clearable
                placeholder="全部字段"
                style="width: 120px"
            >
              <el-option label="全部字段" value="全部字段"></el-option>
              <el-option label="标题" value="标题"></el-option>
              <el-option label="作者" value="作者"></el-option>
              <el-option label="单位" value="单位"></el-option>
            </el-select>
          </el-form-item>
          <el-form-item style="float: left; margin-left: 10px" label="搜索条件">
            <el-input
                v-model="searchData.condition"
                placeholder="搜索条件"
                style="width: 360px"
            ></el-input>
          </el-form-item>
          <el-form-item style="float: left">
            <el-button type="primary" icon="el-icon-search" @click="onSearch"
            >检索
            </el-button>
          </el-form-item>
        </el-form>
      </div>
    </el-row>
    <el-row style="height: 450px" :gutter="20">
      <el-col span="6" style="background: #eeeeee; height: 400px">
        <el-form style="margin-top: 20px; margin-left: 20px" label-width="50px">
          <el-form-item label="年度">
            <el-select v-model="searchData.year" clearable placeholder="年度">
              <el-option label="2021" value="2021"></el-option>
              <el-option label="2020" value="2020"></el-option>
              <el-option label="2019" value="2019"></el-option>
              <el-option label="2018" value="2018"></el-option>
            </el-select>
          </el-form-item>
        </el-form>
      </el-col>
      <el-col span="18">
        <p>结果显示</p>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "Gongzuolunwen",
  data() {
    return {
      searchData: {
        type: "",
        condition: "",
        year: "",
      },
    };
  },
  methods: {
    onSearch() {
    },
  },
};
</script>

<style scoped></style>
